<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>江苏龙芯梦兰科技股份有限公司-SMT生产管理系统</title>
		<%@include file="/WEB-INF/common/taglibs.jsp"%>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="${ctx}resources/css/login.css" />
		<script type="text/javascript" src="${ctx}resources/js/smt.js">
</script>
	</head>
	<script type="text/javascript">
if (top.location != self.location) {
	top.location = self.location;
}

document.onkeydown = function(event){
	if (event.keyCode == 13) {
		form_submit();
	}
}
</script>
	<body>
		<div id="top">
		</div>
		<form id="login" name="login" action="${ctx}user/loginUser.htm"
			method="post">
			<div id="center">
				<div id="center_left"></div>
				<div id="center_middle">
					<div class="user">
						<label>
							用户名：
							<input type="text" name="name" id="user" />
						</label>
					</div>
					<div class="user">
						<label>
							密 码：
							<input type="password" name="password" id="pwd" />
						</label>
					</div>
					<div class="chknumber">
						<div class="chknumber11">
							<label>
								验证码：
								<input type="text" name="sofecode" id="chknumber" maxlength="4"
									class="chknumber_input" />
							</label>
						</div>
						<div class="checkcode">
							<img src="${ctx}user/code.htm" id="safecode"
								onclick="reloadcode()" title="看不清？点击更换图片" alt="无法显示图片" />
						</div>
					</div>
				</div>
				<div id="center_middle_right"></div>
				<div id="center_submit">
					<div class="button">
						<img src="${ctx}resources/images/dl.gif" width="57" height="20"
							onclick="form_submit()">
					</div>
					<div class="button">
						<img src="${ctx}resources/images/cz.gif" width="57" height="20"
							onclick="form_reset()">
					</div>
				</div>
				<div id="center_right"></div>
			</div>
		</form>
		<div id="footer">
			<font color="red">${error}</font>
		</div>
	</body>
</html>
